package com.ss.android.article.base.feature.model;

public final class CategoryItem {
    public int type;
    public String concernId;
    public String categoryId;
    public String category;
    public String name;
    public String description;
    public String iconUrl;
    public String webUrl;
    public int flags;
    public boolean tip_new = false;
    public boolean defaultAdd = false;

    public CategoryItem(String category, String name, String concernId) {
        this(category, name, concernId, (byte) 0);
    }

    public CategoryItem(String category, String name) {
        this(category, name, "", (byte) 0);
    }

    public CategoryItem(String categoryId, String concernId, int type, String category, String name, String description, String iconUrl, String webUrl) {
        this.categoryId = categoryId;
        this.concernId = concernId;
        this.type = type;
        this.category = category;
        this.name = name;
        this.description = description;
        this.iconUrl = iconUrl;
        this.webUrl = webUrl;
    }

    private CategoryItem(String category, String name, String concernId, byte arg13) {
        this("", concernId, 4, category, name, null, null, null);
    }

    public final boolean equals(Object obj) {
        return obj instanceof CategoryItem && ((CategoryItem) obj).category.equals(this.category);
    }
}

